package com.ruoyi.report_jl.service;

import com.ruoyi.report_jl.domain.ReportJlCjllsjmhjlbBsInfo;
import com.ruoyi.report_jl.domain.vo.ReportJlCjllsjmhjlbBsInfoVo;
import com.ruoyi.report_jl.domain.bo.ReportJlCjllsjmhjlbBsInfoBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 粗集料磨耗记录Service接口
 *
 * @author tll
 * @date 2024-05-23
 */
public interface IReportJlCjllsjmhjlbBsInfoService {

    /**
     * 查询粗集料磨耗记录
     */
    ReportJlCjllsjmhjlbBsInfoVo queryById(Long excelId);

    /**
     * 查询粗集料磨耗记录列表
     */
    TableDataInfo<ReportJlCjllsjmhjlbBsInfoVo> queryPageList(ReportJlCjllsjmhjlbBsInfoBo bo, PageQuery pageQuery);

    /**
     * 查询粗集料磨耗记录列表
     */
    List<ReportJlCjllsjmhjlbBsInfoVo> queryList(ReportJlCjllsjmhjlbBsInfoBo bo);

    /**
     * 新增粗集料磨耗记录
     */
    Boolean insertByBo(ReportJlCjllsjmhjlbBsInfoBo bo);

    /**
     * 修改粗集料磨耗记录
     */
    Boolean updateByBo(ReportJlCjllsjmhjlbBsInfoBo bo);

    /**
     * 校验并批量删除粗集料磨耗记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
